import { createRouter, createWebHashHistory } from 'vue-router'
import Home from '../views/Home'
import SellerPage from '@/views/SellerPage'
import TrendPage from '@/views/TrendPage'
import MapPage from '@/views/MapPage'
import RankPage from '@/views/RankPage'
import HotPage from '@/views/HotPage'
import StockPage from '@/views/StockPage'


const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/SellerPage',
    name: 'SellerPageme',
    component: SellerPage
  },
  {
    path: '/TrendPage',
    name: 'TrendPage',
    component: TrendPage
  },
  {
    path: '/MapPage',
    name: 'MapPage',
    component: MapPage
  },
  {
    path: '/RankPage',
    name: 'RankPage',
    component: RankPage
  },
  {
    path: '/HotPage',
    name: 'HotPage',
    component: HotPage
  },
  {
    path: '/StockPage',
    name: 'StockPage',
    component: StockPage
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
